import os

BASE_DIR = os.path.dirname(__file__)
from flask import Flask
static_dir = os.path.join(BASE_DIR, 'static')
templates_dir = os.path.join(BASE_DIR, 'templates')
app=Flask(__name__,static_folder=static_dir,template_folder=templates_dir)

from flask import Blueprint,render_template



#首页
@app.route('/', methods=['GET'])
def index():
    return render_template('index.html')

#可视化界面
@app.route('/show', methods=['GET'])
def show():
    return render_template('show.html')


if __name__=='__main__':
    app.run()